package com.capgemini.remind.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by annson on 2016/7/5.
 */
public class CONST {
    private static final Map<String, String> TIME_UNIT = new HashMap<String, String>();

    static {
        TIME_UNIT.put("day", "天");
        TIME_UNIT.put("month", "月");
        TIME_UNIT.put("year", "年");
    }

    public static String getTimeUnit(String timeUnit){
        return TIME_UNIT.get(timeUnit);
    }
}
